extends ../layout

block conment
  .container
    .row
      each sale in sales
        .col-md-2
          .thumbnail
            a(href="/list/#{sale._id}")
              img(src="#{sale.img}",alt="#{sale.name}")
            .caption
              h3 #{title}
              p:a.btn.btn-primary(href="/list/#{sale._id}",role="button")
                  查看详细